package com.inool.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.inool.common.result.Result;
import com.inool.model.CourseSchedule;
import com.inool.model.dto.CourseScheduleDto;
import com.inool.vo.ConfrimCourseRequestVO;

public interface CourseScheduleService extends IService<CourseSchedule> {
    CourseSchedule addCourseSchedule(CourseSchedule courseSchedule);
    List<CourseSchedule> getAllCourseSchedules();
    Result<String> openCourse(String courseId, String staffNumber);

    String selectCourse(Long courseScheduleId, String studentId);
    Result<String> confirmCourse(ConfrimCourseRequestVO requestVO);

    List<CourseScheduleDto> getCoursesByStaffNumber(String staffNumber);

    Boolean removeCourse(Long courseScheduleId);

    List<CourseSchedule> getSelectedCourses(String studentNumber);

    Boolean cancelCourse(Long courseScheduleId, String studentNumber);
}    